// import http from '../request/axios';
import http from 'request/axios';
import { index as Api } from 'request/api';

const homeService = {
    // 获取标签列表
    tagList(params) {
        return http.get(Api.getTagList, params);
    },
    // 获取文章列表
    articleList(params) {
        return http.get(Api.getArticleList, params);
    }
};

export default homeService;
